package keTang;



public class Test2 {
	
	public void fing(String i,String find){
		System.out.println(i.indexOf(find));
	}
	
public static void main(String[] args) {
	/*String str1="hello";
	String str2=new String();
	str2="hello";
	System.out.println(str1==str2);
	System.out.println(str1.equals(str2));*/
	String t="hello world";
	Test2 test=new Test2();
	test.fing(t, "o");
	
}
}
